import hyRequest from "@/service"

enum DashvoardAPI{
  categoryGoodsCount = '/goods/category/count',
  categoryGoodsSale = '/goods/category/sale',
  categoryGoodsFavor = '/goods/category/favor',
  addressGoodsSale = '/goods/address/sale',

}

export function getCategoryGoodsCount(){
  return hyRequest.get({
    url:DashvoardAPI.categoryGoodsCount
  })
}
export function getCategoryGoodsSale(){
  return hyRequest.get({
    url:DashvoardAPI.categoryGoodsSale
  })
}
export function getCategoryGoodsFavor(){
  return hyRequest.get({
    url:DashvoardAPI.categoryGoodsFavor
  })
}
export function getAddressGoodsSale(){
  return hyRequest.get({
    url:DashvoardAPI.addressGoodsSale
  })
}
